package com.bw.service;

import com.bw.bean.Sugar;
import com.bw.bean.Sugar1;
import com.bw.dao.SugarDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SugarServiceImpl implements SugarService {
    @Autowired
    SugarDao sugarDao;

    @Override
    public double get1() {
        return sugarDao.get1();
    }

    @Override
    public List<Sugar> get2() {
        return sugarDao.get2();
    }

    @Override
    public List<Sugar1> get3() {
        return sugarDao.get3();
    }

    @Override
    public List<Sugar> get4() {
        return sugarDao.get4();
    }
}
